// 项目工程分类定义 API
import request from '@/utils/request'
const projectApi = {
    tableFinds: '/frontend/ProjectType/finds',
    Create: '/frontend/ProjectType/create',
    Edit: '/frontend/ProjectType/edit'
}

export function tableFinds (parameter) {
  return request({
    url: projectApi.tableFinds,
    method: 'post',
    data: parameter,
    headers: {
      'Content-Type': 'application/json;charset=UTF-8'
    }
  })
}
export function create (parameter) {
  return request({
    url: projectApi.Create,
    method: 'post',
    data: parameter,
    headers: {
      'Content-Type': 'application/json;charset=UTF-8'
    }
  })
}
export function edit (parameter) {
  return request({
    url: projectApi.Edit,
    method: 'post',
    data: parameter,
    headers: {
      'Content-Type': 'application/json;charset=UTF-8'
    }
  })
}
